package com.hellobike.haxing.modules.purchase.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: t_purchase_info
 * @Author: haxing-boot
 * @Date: 2020-02-12
 * @Version: V1.0
 */
@Data
@TableName("t_purchase_info")
public class TPurchaseInfo implements Serializable {
	private static final long serialVersionUID = 1L;

	/** id */
	@TableId(type = IdType.AUTO)
	private Long id;
	/** 供应商内部信息id */
	@Excel(name = "供应商内部信息id", width = 15)
	private java.lang.Long supplierId;
	/** 供应商名称 */
	@Excel(name = "供应商名称", width = 15)
	private java.lang.String supplierName;
	/** 城市id */
	@Excel(name = "城市id", width = 15)
	private Long cityId;
	/** 城市名称 */
	@Excel(name = "城市名称", width = 15)
	private String cityName;
	/** 仓库id */
	@Excel(name = "仓库id", width = 15)
	private Long warehouseId;
	/** 仓库名称 */
	@Excel(name = "仓库名称", width = 15)
	private String warehouseName;
	/** 是否采购：0否1是 */
	@Excel(name = "是否采购：0否1是", width = 15)
	private Integer isMissingParts;
	/** createTime */
	@Excel(name = "createTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date createTime;
	/** updateTime */
	@Excel(name = "updateTime", width = 20, format = "yyyy-MM-dd HH:mm:ss")
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date updateTime;
	/** createBy */
	@Excel(name = "createBy", width = 15)
	private Integer createBy;
	/** updateBy */
	@Excel(name = "updateBy", width = 15)
	private Integer updateBy;
	/** deleted */
	@Excel(name = "deleted", width = 15)
	@TableLogic
	private Integer deleted;
}
